import request from '@/utils/request'
export function list(params) {
  return request({
    url: '/admin/material/list',
    method: 'get',
    params: params
  })
}
export function save(data) {
  return request({
    url: '/admin/material/save',
    method: 'post',
    data: data
  })
}
export function find(id) {
  return request({
    url:'/admin/material/find/'+id,
    method:'get'
  })
}
export function update(data) {
  return request({
    url: '/admin/material/update',
    method: 'post',
    data: data
  })
}
export function del(ids) {
  return request({
    url:'/admin/material/del/'+ids,
    method: 'post',
  })
}
